package com.hrt.datasender.datadao.model;

import com.btcode.db.fieldtype.FieldType;
import com.btcode.orm.model.BaseModel;
import com.btcode.orm.model.Field;
import com.btcode.orm.model.IField;

public class BcMonitorParamDictModel extends BaseModel {

    private static final long serialVersionUID = 1L;

    public static String tableName = "BC_MONITOR_PARAM_DICT";

    public static IField id = new Field(BcMonitorParamDictModel.class, "ID", FieldType.String, true);

    public static IField paramCodeBus = new Field(BcMonitorParamDictModel.class, "PARAM_CODE_BUS", FieldType.String,
            false);

    public static IField paramName = new Field(BcMonitorParamDictModel.class, "PARAM_NAME", FieldType.String, false);

    public static IField unit = new Field(BcMonitorParamDictModel.class, "UNIT", FieldType.String, false);

    public static IField alarmUp = new Field(BcMonitorParamDictModel.class, "ALARM_UP", FieldType.String, false);

    public static IField alarmDown = new Field(BcMonitorParamDictModel.class, "ALARM_DOWN", FieldType.String, false);

    public static IField valueRule = new Field(BcMonitorParamDictModel.class, "VALUE_RULE", FieldType.String, false);

    public static IField unitConver = new Field(BcMonitorParamDictModel.class, "UNIT_CONVER", FieldType.String, false);

    public static IField molWeight = new Field(BcMonitorParamDictModel.class, "MOL_WEIGHT", FieldType.String, false);

    public static IField multiple = new Field(BcMonitorParamDictModel.class, "MULTIPLE", FieldType.String, false);

    public static IField calEmissions = new Field(BcMonitorParamDictModel.class, "CAL_EMISSIONS", FieldType.String, false);

    public static IField isRangeConversion = new Field(BcMonitorParamDictModel.class, "IS_RANGE_CONVERSION", FieldType.String, false);

    public static IField rangeUp = new Field(BcMonitorParamDictModel.class, "RANGE_UP", FieldType.String, false);

    public static IField rangeDown = new Field(BcMonitorParamDictModel.class, "RANGE_DOWN", FieldType.String, false);

    public static IField digitalRangeUp = new Field(BcMonitorParamDictModel.class, "DIGITAL_RANGE_UP", FieldType.String, false);

    public static IField digitalRangeDown = new Field(BcMonitorParamDictModel.class, "DIGITAL_RANGE_DOWN", FieldType.String, false);

    public void setId(String value) {
        setFieldValue(id.getFieldName(), value);
    }

    public String getId() {
        Object value = getFieldValue(BcMonitorParamDictModel.id.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setParamCodeBus(String value) {
        setFieldValue(paramCodeBus.getFieldName(), value);
    }

    public String getParamCodeBus() {
        Object value = getFieldValue(BcMonitorParamDictModel.paramCodeBus.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setParamName(String value) {
        setFieldValue(paramName.getFieldName(), value);
    }

    public String getParamName() {
        Object value = getFieldValue(BcMonitorParamDictModel.paramName.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setUnit(String value) {
        setFieldValue(unit.getFieldName(), value);
    }

    public String getUnit() {
        Object value = getFieldValue(BcMonitorParamDictModel.unit.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setAlarmUp(String value) {
        setFieldValue(alarmUp.getFieldName(), value);
    }

    public String getAlarmUp() {
        Object value = getFieldValue(BcMonitorParamDictModel.alarmUp.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setUnitConver(String value) {
        setFieldValue(unitConver.getFieldName(), value);
    }

    public String getUnitConver() {
        Object value = getFieldValue(BcMonitorParamDictModel.unitConver.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setMolweight(String value) {
        setFieldValue(molWeight.getFieldName(), value);
    }

    public String getMolWeight() {
        Object value = getFieldValue(BcMonitorParamDictModel.molWeight.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setMultiple(String value) {
        setFieldValue(multiple.getFieldName(), value);
    }

    public String getMultiple() {
        Object value = getFieldValue(BcMonitorParamDictModel.multiple.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setValueRule(String value) {
        setFieldValue(valueRule.getFieldName(), value);
    }

    public String getValueRule() {
        Object value = getFieldValue(BcMonitorParamDictModel.valueRule.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setAlarmDown(String value) {
        setFieldValue(alarmDown.getFieldName(), value);
    }

    public String getAlarmDown() {
        Object value = getFieldValue(BcMonitorParamDictModel.alarmDown.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setCalEmissions(String value) {
        setFieldValue(calEmissions.getFieldName(), value);
    }

    public String getCalEmissions() {
        Object value = getFieldValue(BcMonitorParamDictModel.calEmissions.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public void setIsRangeConversion(String value) {
        setFieldValue(isRangeConversion.getFieldName(), value);
    }

    public String getIsRangeConversion() {
        Object value = getFieldValue(BcMonitorParamDictModel.isRangeConversion.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }


    public void setRangeUp(String value) {
        setFieldValue(rangeUp.getFieldName(), value);
    }

    public String getRangeUp() {
        Object value = getFieldValue(BcMonitorParamDictModel.rangeUp.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }


    public void setRangeDown(String value) {
        setFieldValue(rangeDown.getFieldName(), value);
    }

    public String getRangeDown() {
        Object value = getFieldValue(BcMonitorParamDictModel.rangeDown.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }


    public void setDigitalRangeUp(String value) {
        setFieldValue(digitalRangeUp.getFieldName(), value);
    }

    public String getDigitalRangeUp() {
        Object value = getFieldValue(BcMonitorParamDictModel.digitalRangeUp.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }


    public void setDigitalRangeDown(String value) {
        setFieldValue(digitalRangeDown.getFieldName(), value);
    }

    public String getDigitalRangeDown() {
        Object value = getFieldValue(BcMonitorParamDictModel.digitalRangeDown.getFieldName());
        String result = getValueConver().converToString(value);
        return result;
    }

    public String getTableName() {
        return tableName;
    }

    public boolean isNeedCache() {
        return false;
    }

}